<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<title>申请书编辑</title>
	<link href="${res}/js/plugins/datepicker/css/datepick.css"  rel="stylesheet" type="text/css" />
	<!-- start date 日期控件2222-->
	<script type="text/javascript" src="${res}/js/plugins/datepicker/jquery.datepick.js"></script>
	<script type="text/javascript" src="${res}/js/plugins/datepicker/jquery.datepick-zh_CN.js"></script>
	<script type="text/javascript" src="${res}/js/plugins/datepicker/jquery.timepick.js"></script>
	<script type="text/javascript" src="${res}/js/plugins/datepicker/jquery-ui-timepicker-zh-CN.js"></script>
	<script type="text/javascript" src="${res}/js/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="${res}/js/jquery/jquery.form.js"></script>
	<script type="text/javascript"
			src="${res}/js/proposal/irisPrpPrepare.js"></script>
	<script type="text/javascript"
			src="${res}/js/validate/irisvalidator.js"></script>
	<script type="text/javascript"
			src="${res}/js/keyword/keywordtips.js"></script>
	<script type="text/javascript"
			src="${res_app}/js/app/proposal/irisPrpPrepare.js"></script>
	<script type="text/javascript"
			src="${res_app}/js/app/base.js"></script>
	<style>
		textarea{overflow:auto;}
	</style>

	<script type="text/javascript">
		$(function(){
			queryflex();
		});
		/**
		 * 申请书提交方法
		 */


		var ctxpath = "${ctx}";
		var prcWin = new progressWin("${res}");//初始化遮罩层
		/**
		 * 页面初始化方法 所有的都定义在里面
		 */
		$(document).ready (function() {
			$("#wbox1").click(function() {
				check("check");
			});

			$("#wbox2").click(function() {

				check("check");

			});

			initControl();
			$("table").addClass("table01");
			$("table.t_css").not("[id='finances']").not("[id='checkbox_table_']").not("[id='budgetsMsg2']").not("[id='basicInfo']").each(function(){
				$(this).find("tr:even").addClass("li_1");
				$(this).find("tr:odd").addClass("li_2");
			});

			$("#checkbox_table_").removeClass("table01");
			$("#feaReport_upload").removeClass("table01");
			$("#feaReport_upload1").removeClass("table01");
			$("#feaReport_upload2").removeClass("table01");
			$('div').find("[id^='checkbox_dyn_']").find("tr").removeClass("li_1").removeClass("li_2");
			$('div').find("[id^='checkbox_dyn_']").find("td").css("border",'0px solid');

			window.setInterval("checkPdfStatus()", "10000");//检验申请书的pdf
		});

		$(document).ready(function() {
			fileInit("feaReport_upload","PDF");
			fileInit("prpContent_upload","PDF",null,"{'PDF':'51200'}");
			fileInit("feaReport_upload1","PDF");
			fileInit("feaReport_upload2","PDF");
			//fileInitAttach("attachAdd", "JPG,PDF", null, 20, "{'JPG':'3072','PDF':'3072'}");
			$("#prpContent_upload").find(".file").hide();//隐藏文本框
		});


		$(document).ready(function() {
			$("#org").attr("disabled","true");
			initDepartForComplete("org");
			initControl();
		});

		/* 用来显示等级-职称 */
		function addlevel(){
			var level = $("#level_no").val();
			var prof_title_name = $("#prof_title_name").val();
			var string1 = "未取得";
			var string2 = "高级-";
			var string3 = "副高级-";
			var string4 = "中级-";
			var string5 = "初级-";
			if(level.length<=0 || level ==""){
				$("#prof_title").html(string1);
			}else if(level==1){
				$("#prof_title").html(string2+prof_title_name);
			}else if(level==2){
				$("#prof_title").html(string3+prof_title_name);
			}else if(level==3){
				$("#prof_title").html(string4+prof_title_name);
			}else if(level==4){
				$("#prof_title").html(string5+prof_title_name);
			}
		}
		/**
		 * 申报日期默认为当前日期
		 */
		$(document).ready(function() {


			var nowDate = '${sercverSysDate1}';
			if($("#submit_date").val()==""){
				$("#submit_date").val(nowDate);
			}

		});

		function validatePsnAge() {
// 	var statyear = $("#statyear").val();
//     var str1 = statyear+"-01-01";
			var str1 = "2018-01-01";

			var str2 =  $("#fzbirthday").val();
			var grant_Code = $("#grantCode").val();
			if(str2==""){
				irisValaddMsg("在填写申报书之前，请完整填写个人信息中的出生日期");
				return ;
			}
			if (str1 == "" || str2 == "")
				return ;

			var year = calFullYear2(str2,str1,locale);

			//  alert(secondDate-firstDate);
			if(grant_Code==4760 || grant_Code==4761 || grant_Code==4762){
				if (year > 57) {
					irisValaddMsg("申报人年龄大于57周岁不允许申报当前项目");
					return false;
				}else{
					return true;
				}
			}
		}


		function checkCan(){

			var grant_Code = $("#grantCode").val();

			var level_no = $("#level_no").val();

			//	var file_code= $("input[name$='content[01]/file_code']").val();

			var degree_name = $("#degree_name").val();
			degree_name = degree_name.trim();
			if(grant_Code==4760 || grant_Code==4761 || grant_Code==4762){
				if(level_no == 1 || level_no==2 || degree_name == "博士"){
					//validatePsnAge();
					//irisValaddMsg("请上传附件材料 高级专业技术职务（职称）证书或博士学位证书，2者中上传专业技术职务（职称）证书或博士学位证书");
					return;
				}else{
					//validatePsnAge();
					irisValaddMsg("您不具有博士学位或高级专业技术职称，不符合申报条件");
					return;
				}
			}

		}
		$(function() {
			addlevel();
		});
		/**
		 * 填写检查
		 */
		function calFullYear2(sDate, endDate, locale) {
			var d1Array = null;
			var d2Array = null;
			if (locale == "en_US") {
				d1Array = (endDate.split("/"));
				d2Array = (sDate.split("/"));
			} else {
				d1Array = (endDate.split("-"));
				d2Array = (sDate.split("-"));
			}
			var yearDistance = d1Array[0] - d2Array[0];
			var monthDistance = d1Array[1] - d2Array[1];
			var dayDistance = d1Array[2] - d2Array[2];
			var year = yearDistance;
			if (yearDistance > 0) {
				if (monthDistance == 0) {
					if (dayDistance > 0) {
						year = year + 1;
					}
				} else if (monthDistance > 0) {
					year = year + 1;
				}

			}
			return year;
		}
		function checkJDYear(){
			var i=1;
			$("#tblMileStones").find("tbody").find("tr:gt(0)").each(function() {
				var str1 = $(this).find("td").find("input[name$='start_date']").val();
				var str2 = $(this).find("td").find("input[name$='end_date']").val();
				if(str1!='' || str2 != ''  ){
					var date1 = new Date(str1);
					var date2 = new Date(str2);
					if(date1>date2){
						irisValaddMsg("课题基本信息-->课题的阶段目标第"+i+"行-->阶段开始时间必须小于阶段结束时间，请修改");
					}
				}
				i++;

			})

		}
		function check(type){
			checkJDYear();
			setTotalAmt();
			validateByTabRow($("#inland"),"合作单位基本信息-->合作单位信息");
			validate($("#basic_tab"),"项目基本情况");
			validateByTabRow($("#subject"),"项目课题信息—>项目课题信息");
			validate($("#fragment-tab05"),"项目概述");
			validate($("#fragment-tab06"),"项目课题研究方案");
			validate($("#tblresume"),"项目人员情况");
			validate($("#fundInfo_from"),"项目经费情况");
			var nature_value=$("#nature_value").val();
			if(nature_value.indexOf("A")!=-1){
				check_unit_funds(total_each_2,total_investfrom_5);
			}
			validate($("#fundInfo_before"),"项目经费情况-->资金概算-->资金支出概算");
			validate($("#fundInfo"),"项目经费情况");
			check_gold(total_each_0,total_fund_15,total_fund_0,total_fund_2);
			validate($("#tbl"),"项目经费情况");
			check_fund();
			validateByTabRow($("#tblMileStones"),"项目进度计划-->项目进度计划",1);
			validate($("#performances1"),"项目绩效目标");
			validate($("#performances2"),"项目绩效目标");
			validate($("#performances3"),"项目绩效目标");
			validate($("#performances4"),"项目绩效目标");
			validate($("#performances5"),"项目绩效目标");

			prp_attach();
			if(!valResult()){
				irisValShowMsg($("#wbox1"));
				return false;
			}
			if(type=="check"){
				showBox($("#wbox1"), "300px", "200px", "检查通过","1:所有检查全部合格");
			}
			return true;
		}

		function setTotalAmt(){
			$('#total_amt').val($("#input_total").val());
			$('#request_amt').val($("#request_amount").val());
		}

		//经费验证吧
		function check_gold(provinceMoneyId,indirectMoneyId,directMoneyId,equipmentMoneyId){
			var get_money       = parseFloat($("#"+provinceMoneyId.id+"").val());
			var indirect_money  = parseFloat($("#"+indirectMoneyId.id+"").val());

			var direct_money    = parseFloat($("#"+directMoneyId.id+"").val());
			var equipment_money =  parseFloat($("#"+equipmentMoneyId.id+"").val());
			var left_money      = parseFloat(direct_money-equipment_money);

			/* 需求wrod合同条款：间接费用按照直接费用扣除设备购置费后的一定比例核定，200万元及以下部分，间接费用比例为不超过40%；200万元以上至500万元的不超过30%；500万元以上至1000万元的不超过25%；1000万元以上的不超过20%；对数学等纯理论基础研究项目，间接费用比例进一步提高到不超过60%。
			*/

			if(get_money<200){
				if(indirect_money>left_money*0.4){
					irisValaddMsg("项目经费情况-->资金预算-->资金来源预算-->省财政拨款-->预算金额小于200万元时，资金支出预算-->其中：省财政拨款间接费用不能超过直接费用减去购置设备费后的40%");
				}
			}
			if(get_money<500 && get_money>=200){
				if(indirect_money>left_money*0.3){
					irisValaddMsg("项目经费情况-->资金预算-->资金来源预算-->省财政拨款-->预算金额小于500万元并且大于200万元(包含200万元)时，其中：省财政拨款间接费用不能超过直接费用减去购置设备费后的30%");
				}
			}
			if(get_money<1000 && get_money>=500){
				if(indirect_money>left_money*0.25){
					irisValaddMsg("项目经费情况-->资金预算-->资金来源预算-->省财政拨款-->预算金额小于1000万元并且大于500万元(包含500万元)时，其中：省财政拨款间接费用不能超过直接费用减去购置设备费后的25%");
				}
			}
			if(get_money>=1000){
				if(indirect_money>left_money*0.2){
					irisValaddMsg("项目经费情况-->资金预算-->资金来源预算-->省财政拨款-->预算金额大于1000万元(包含1000万元)时，其中：省财政拨款间接费用不能超过直接费用减去购置设备费后的20%");
				}
			}
		}
		function check_unit_funds(total_each_id,total_investfrom_id) {
			var total_each_id= parseFloat($("#"+total_each_id.id+"").val());
			if (!$.isNumeric(total_each_id))
				total_each_id = "0";
			var total_investfrom_id=parseFloat($("#"+total_investfrom_id.id+"").val());
			if (!$.isNumeric(total_investfrom_id))
				total_investfrom_id = "0";
			if(total_each_id < total_investfrom_id*0.6){
				irisValaddMsg("项目经费情况-->资金预算-->资金来源预算-->单位自筹经费大于等于项目经费情况-->资金预算-->资金来源预算-->来源合计-->预算金额的60%");
			}
		}

		//验证资金支出预算—>直接费用->设备费预算金额和其中：省财政拨款是否大于等于其中：设备购置费
		function check_fund() {

			var total_invest_1 = parseInt($("#total_invest_1").val());
			var total_invest_2 = parseInt($("#total_invest_2").val());
			var total_fund_1 = parseInt($("#total_fund_1").val());
			var total_fund_2 = parseInt($("#total_fund_2").val());
			if(total_invest_2!=""&&total_invest_2!=null&&total_invest_2!=undefined){
				if(total_invest_1<total_invest_2){
					irisValaddMsg("项目经费情况-->资金预算-->资金支出预算-->直接费用-->设备费-->预算金额必须大于等于资金预算-->资金支出预算-->直接费用-->购置设备费-->预算金额");
				}
			}
			if(total_fund_2!=""&&total_fund_2!=null&&total_fund_2!=undefined){
				if(total_fund_1<total_fund_2){
					irisValaddMsg("项目经费情况-->资金预算-->资金支出预算-->直接费用-->设备费-->其中：省财政拨款必须大于等于资金预算-->资金预算-->资金支出预算-->直接费用-->购置设备费-->其中：省财政拨款");
				}
			}
		}
	</script>
	<style>
		textarea{overflow:   auto;}
	</style>
</head>
<body>

<c:set var="xmlstr" value="${xmlData}" scope="request"/>
<x:parse xml="${xmlstr}" var="xmlData" scope="request" />
<input type="hidden" id="childDiv" class="thickbox"/>
<input type="hidden" id="filePath" value="${ctx}/file/ajax-filedownload?fileCode=" />
<input type="hidden" id="menuId" value="${param.menuId}" />
<input type="hidden" id="sysDate" value="${sercverSysDate}" />

<div id="showMessage"></div>
<div id="content">
	<cpt:helpTips key="prpedit" id="prpEditTips"></cpt:helpTips>
	<div class="clear_h15"></div>
	<div class="word_box" id="mainDiv">

		<!-- 公用的配置界面 ：保存、提交等button-->
		<jsp:include page="./prpeditmain_public_first_g_2019.jsp"/>

		<div class="bar_b">
			<input type="hidden" id="pdfStatus" value="${pdfStatus}" />
			<span class="right">版本号：<span name="proposal/prp_version" id="prp_version"><x:out select="$xmlData/data/proposal/prp_version" /></span></span>
		</div>
		<form method="post" id="mainForm">
			<input type="hidden" value="${grantCode}" id="grantCode"
				   name="grantCode">
			<input type="hidden" value="${posCode}" id="posCode" name="posCode">
			<input type="hidden" value="<iris:des3 code="${posCode}"></iris:des3>" id="posCodeDes" name="posCodeDes">
			<input type="hidden" value="<iris:des3 code="${fbl.pdfCode}"></iris:des3>" id="pdfCodeDes" name="pdfCodeDes">
			<input type="hidden" value="${xmlData}" id="xmlData" name="xmlData">
			<input type="hidden" value="${fbl.pdfCode}" id="pdfCode" name="pdfCode">
			<input type="hidden" value="${flag_shizhi}" id="flag_shizhi" name="proposal/flag_shizhi">
			<c:set var="subGrantCode" scope="request"><x:out select="$xmlData/data/proposal/sub_grant_code" /></c:set>
			<c:if test="${subGrantCode == '4760' }">
				<input type="hidden" name="proposal/technosphere_value" id="technosphere_value" value="01" />
				<input type="hidden" name="proposal/technosphere_name" id="technosphere_name" value="农业领域" />
			</c:if>
			<c:if test="${subGrantCode == '4761' }">
				<input type="hidden" name="proposal/technosphere_value" id="technosphere_value" value="02" />
				<input type="hidden" name="proposal/technosphere_name" id="technosphere_name" value="工业领域" />
			</c:if>
			<c:if test="${subGrantCode == '4762' }">
				<input type="hidden" name="proposal/technosphere_value" id="technosphere_value" value="03" />
				<input type="hidden" name="proposal/technosphere_name" id="technosphere_name" value="社发领域" />
			</c:if>

		</form>
		<div class="word_title">
			<c:set var="prpDeadline"><x:out select="$xmlData/data/proposal/prp_deadline" /></c:set>
			<c:if test="${empty prpDeadline}">
				<c:set var="prpDeadline" >${prp_deadline}</c:set>
			</c:if>
			<input type="hidden" name="proposal/prp_deadline"  id ="prp_deadline" value="${prpDeadline}" />
			<c:set var="statYear" scope="request">${statYear}</c:set>
			<c:if test="${empty statYear}">
				<c:set var="statYear" scope="request"><x:out select="$xmlData/data/proposal/stat_year" /></c:set>
			</c:if>

			<c:set var="start_date">${pro_start_date}</c:set>
			<c:if test="${empty start_date}">
				<c:set var="start_date"><x:out select="$xmlData/data/proposal/start_date" /></c:set>
			</c:if>

			<c:set var="end_date">${pro_end_date}</c:set>
			<c:if test="${empty pro_end_date}">
				<c:set var="end_date"><x:out select="$xmlData/data/proposal/end_date" /></c:set>
			</c:if>

			<input type="hidden" name="proposal/pro_start_date" value="${pro_start_date}">
			<input id="pro_end_date" type="hidden" name="proposal/pro_end_date" value="${pro_end_date}">

			<input type="hidden" name="proposal/stat_year" id="statyear" value="${statYear}">
			<span name="proposal/grant_name" ><x:out select="$xmlData/data/proposal/grant_name" /></span>-项目申请书 (<span name="proposal/stat_year">${statYear}</span>年)<%-- <br/><span name="proposal/sub_grant_name" >(<x:out select="$xmlData/data/proposal/sub_grant_name" />)</span> --%>
			<input type="hidden" name="proposal/manage_category" value="<x:out select="$xmlData/data/proposal/manage_category" />" />
			<input type="hidden" name="proposal/sub_grant_name" value="<x:out select="$xmlData/data/proposal/sub_grant_name" />" />
			<input type="hidden" name="proposal/grant_code" value="<x:out select="$xmlData/data/proposal/grant_code" />" />  <input type="hidden" name="proposal/psn_code" value="<x:out select="$xmlData/data/proposal/psn_code" />" />
			<input type="hidden" id="grant_no" name="proposal/grant_no" value="<x:out select="$xmlData/data/proposal/grant_no" />" />
			<input type="hidden" name="proposal/sub_grant_code" value="<x:out select="$xmlData/data/proposal/sub_grant_code" />" />
			<input name="proposal/register_area_code" type="hidden" value="<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/area_value" />" />
			<input name="proposal/register_area_name" type="hidden" value="<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/area_name" />" />
			<input type="hidden" id="sub_grant_no" name="proposal/sub_grant_no" value="<x:out select="$xmlData/data/proposal/sub_grant_no" />" />
			<input type="hidden" name="proposal/help_grant_code" value="<x:out select="$xmlData/data/proposal/help_grant_code" />" />
			<input type="hidden" id="help_grant_no" name="proposal/help_grant_no" value="<x:out select="$xmlData/data/proposal/help_grant_no" />" />
			<c:set var="formCode"><x:out select="$xmlData/data/proposal/form_code" /></c:set>
			<c:set var="nature_value"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" /> </c:set>
			<c:if test="${empty formCode}"><c:set var="formCode" value="${param.formCode}"></c:set></c:if>
			<input type="hidden" name="proposal/form_code" value="${formCode}" />
			<input type="hidden" name="proposal/request_amt" id="request_amt" value="<x:out select="$xmlData/data/proposal/request_amt"/>">
			<input type="hidden" name="proposal/year" value="${year}" />
			<input type="hidden" value="<x:out select="$xmlData/data/proposal/level_no" />" id="level_no" name="proposal/level_no">
			<input type="hidden" name="proposal/fzr_psnname" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /> "/>
			<input type="hidden" name="proposal/org_fzr_email" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /> "/>
			<input type="hidden" name="proposal/org_fzr_mobil" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /> "/>
			<input type="hidden" name="proposal/org_fzr_phone" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /> "/>
			<input type="hidden" name="proposal/org_lxr_name" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_name" /> "/>
			<input type="hidden" name="proposal/org_lxr_eamil" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_email" /> "/>
			<input type="hidden" name="proposal/org_lxr_mobile" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_mobile" /> "/>
			<input type="hidden" name="proposal/org_lxr_tel" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_tel" /> "/>
			<%--<input type="hidden" name="proposal/project_submit_date" id="submit_date"/>--%>
			<input type="hidden" id="nature_value" name="organizations/organization/nature_value" value="<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" />">
			<input type="hidden" id="degree_name" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/degree_name" />" />
			<input type="hidden" id="prof_title_name" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/prof_title_name" />" />
			<input type="hidden" id="prof_title" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/prof_title" />" />
			<input type="hidden" name="organization/whether_is_gaoxin_value" value="<x:out select="$xmlData/data/organization/whether_is_gaoxin_value" />"/>
			<input type="hidden" name="organization/whether_industrial_base_value" value="<x:out select="$xmlData/data/organization/whether_industrial_base_value" />"/>
			<input type="hidden" name="organization/whether_is_province_value" value="<x:out select="$xmlData/data/organization/whether_is_province_value" />"/>
			<input type="hidden" name="proposal/contact_psn_tel" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_tel"/>"/>
			<input type="hidden" name="proposal/contact_psn_email" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_email"/>"/>


			<input type="hidden" id="age_end_date" name="proposal/age_end_date" value="<x:out select="$xmlData/data/proposal/age_end_date"/>"/>
			<input type="hidden" id="control_psn_code" name="proposal/control/psn_code" value="<x:out select="$xmlData/data/proposal/control/psn_code" />"/>
			<input type="hidden" id="psn_code" name="zh_persons/zh_person/basic_info/psn_code" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/psn_code" />"/>
			<input type="hidden" id="end_date" name="proposal/end_date" value="${end_date}" label="项目截止时间"/>
			<input type="hidden" id="start_date" name="proposal/start_date" value="${start_date}" label="项目开始时间"/>
			<input type="hidden" id="pro_end_date" name="proposal/pro_end_date" value="<x:out select="$xmlData/data/proposal/pro_end_date" />"/>
			<input type="hidden" id="fzbirthday" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/birthday" />"/>
			<input type="hidden" name="zh_parsen/fzr_name" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>"/>
			<input type="hidden" name="zh_parsen/fzr_mobile" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>"/>
			<input type="hidden" name="zh_parsen/fzr_tel" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>"/>
			<input type="hidden" name="zh_parsen/fzr_email" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>"/>
			<input type="hidden" id="hzdw" name="proposal/hzdw" value="<x:out select="$xmlData/data/proposal/hzdw"/>"/>
			<!-- 公用的配置界面 -->
			<jsp:include page="./prpeditmain_public.jsp"><jsp:param value="${xmlstr}" name="xmlstr" /></jsp:include>
		</div>
		<div id="tabnav">
			<ul>
                <li class="down" id="tab1" onclick="changeTab(this.id)">
                    <a href="###"><span>单位基本情况</span></a>
                </li>
                <li  id="tab2" onclick="changeTab(this.id)">
                    <a href="###"><span>合作单位基本信息</span></a>
                </li>

                <li id="tab3" onclick="changeTab(this.id)" >
                    <a href="###"><span>项目基本情况</span></a>
                </li>
                <li id="tab4" onclick="changeTab(this.id)" >
                    <a href="###"><span>项目课题信息</span></a>
                </li>
				<li id="tab05" onclick="changeTab(this.id)" >
					<a href="###"><span>项目概述</span></a>
				</li>
				<li id="tab06" onclick="changeTab(this.id)" >
					<a href="###"><span>项目课题研究方案</span></a>
				</li>
				<li id="tab07" onclick="changeTab(this.id)" >
					<a href="###"><span>项目人员情况</span></a>
				</li>
				<li id="tab08" onclick="changeTab(this.id)">
					<a href="###"><span>项目经费情况</span></a>
				</li>
			</ul>
		</div>
		<div id="tabnav">
			<ul>
				<li id="tab09" onclick="changeTab(this.id)" >
					<a href="###"><span>项目进度计划</span></a>
				</li>
				<li id="tab10" onclick="changeTab(this.id)" >
					<a href="###"><span>项目绩效目标</span></a>
				</li>
				<li id="tab11" onclick="changeTab(this.id)" >
					<a href="###"><span>需提交的材料</span></a>
				</li>
			</ul>
		</div>
        <!-- 单位基本情况-->
        <div class="tab_box" id="fragment-tab1">
            <jsp:include page="../org/prporg_baseinfo_zyykjggxm_2022.jsp">
                <jsp:param value="1、单位基本信息" name="title" />
                <jsp:param value="2、单位人员情况" name="title2" />
                <jsp:param value="3、单位财务状况" name="title3" />
                <jsp:param value="4、企业开展产学研合作情况" name="title4" />
                <jsp:param value="5、主营业务产品" name="title5" />
                <jsp:param value="6、知识产权情况" name="title6" />
                <jsp:param value="${xmlstr}" name="xmlstr" />
                <jsp:param value="${statYear}" name="statyear" />
                <jsp:param value="${year}" name="curryear" />
            </jsp:include>
        </div>

        <!-- 合作单位基本信息 -->
        <div class="tab_box" id="fragment-tab2" style="display: none">
            <jsp:include page="../org/prporg_baseinfo_hzdw_zyykjggxm_2022.jsp">
                <jsp:param value="${xmlstr}" name="xmlstr" />
            </jsp:include>
        </div>
        <!-- 项目基本情况 -->
        <div class="tab_box" id="fragment-tab3" style="display: none">
            <jsp:include page="../info/prpinfoEdit_zyykjggxm_2022.jsp">
                <jsp:param value="${start_date}" name="pro_start_date" />
                <jsp:param value="${end_date}" name="pro_end_date" />
                <jsp:param value="${xmlstr}" name="xmlstr" />
            </jsp:include>
        </div>
        <!--项目课题信息  -->
        <div class="tab_box" id="fragment-tab4" style="display: none">
          <jsp:include page="../info/prpinfoEdit_ktxx_zyykjggxm_2022.jsp">
                <jsp:param value="${xmlstr}" name="xmlstr" />
            </jsp:include>
        </div>
		<!-- 项目概述-->
		<div class="tab_box" id="fragment-tab05" style="display: none">
<%--			<jsp:include page="../goal/prpContentEdit_zyy_xmgs_2022.jsp">--%>
			<jsp:include page="../goal/prpgoaledit_zyykjggxm_xmgs_2022.jsp">
				<jsp:param value="${xmlstr}" name="xmlstr" />
				<jsp:param value="项目概述" name="title" />
			</jsp:include>
		</div>
		<!-- 主要研究内容和目标-->
		<div class="tab_box" id="fragment-tab06" style="display: none">
<%--			<jsp:include page="../goal/prpContentEdit_zyy_xmktyj_2022.jsp">--%>
			<jsp:include page="../goal/prpgoaledit_zyykjggxm_ktnr_2022.jsp">
				<jsp:param value="${xmlstr}" name="xmlstr" />
				<jsp:param value="项目课题研究方案" name="title" />
			</jsp:include>
		</div>
		<!--项目人员情况-->
		<div class="tab_box" id="fragment-tab07" style="display: none">
			<jsp:include page="../psn/prpzhpsn_zyykjggxm_ryxx_2022.jsp">
				<jsp:param value="${xmlstr}" name="xmlstr"/>
			</jsp:include>
		</div>

		<!--项目经费情况  -->
		<div class="tab_box" id="fragment-tab08" style="display: none">
<%--			<jsp:include page="../fund/prpfundedit_zyykjggxm_2022.jsp">--%>
			<jsp:include page="../fund/prpfundedit_zyykjggxm_xmjf_2020.jsp">
				<jsp:param value="${statYear}" name="statYear" />
			</jsp:include>
		</div>
		<!-- 项目进度计划-->
		<div class="tab_box" id="fragment-tab09" style="display: none">
<%--			<jsp:include page="../milestone/prpmilestoneedit_zyykjggxm2_2022.jsp">--%>
			<jsp:include page="../milestone/prpmilestoneedit_zyykjggxm_xmjd_2019.jsp">
				<jsp:param value="${xmlstr}" name="xmlstr" />
			</jsp:include>
		</div>
		<!--项目绩效目标  -->
		<div class="tab_box" id="fragment-tab10" style="display: none">
			<jsp:include page="../performance/prpperformanceedit_zyykjggxm_xmjx_2022.jsp"/>
		</div>
		<!-- 需提交的材料 -->
		<div class="tab_box" id="fragment-tab11" style="display: none">
			<jsp:include page="../attach/prpAttachEdit_gkjzljslyxm_2019.jsp">
				<jsp:param value="需提交的材料" name="prpAttachTitle" />
			</jsp:include>
			<p style="font-size: 13px"><strong>备注：</strong></p>
			<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1、递交纸质材料时，提供系统打印的申请书纸质文件，连同以上附件材料（一式三份，A4规格，正反面打印，附有目录及页码，胶装成册），签字盖章后报送归口管理部门</p>
			<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、递交纸质材料时，归口管理部门校验以上附件材料</p>
		</div>
		<!-- 公用的配置界面 ：保存、提交等button -->
		<jsp:include page="./prpeditmain_public_last_g_2019.jsp"/>
	</div>
	<div class="clear_h15"></div>
</div>
</body>

</html>